<?php
include_once "objs/ArticlePojo.php";
include_once "models/ArticleDao.php";
include_once "models/Util.php";
include_once "models/MySqlDataAccessHelper.php";

$url = 'danhmuc.php';
$leftContent = 'left.php';
$detail = Util::getRequestParam('detail');
$id = Util::getRequestParam('id');
$ds = array();
if ($id != NULL) {
    if($detail != NULL){
        $ds = ArticleDao::getArticle($id);
    }else{
        $ds = ArticleDao::getArticles($id);
    }
}

include 'subs/template.php';
?>
